package com.prs.crm.dao.approval.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.approval.ProcureDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.approval.Procure;

public class ProcureDaoImpl extends BaseDaoImpl<Procure> implements ProcureDao{

	@Override
	public List<Procure> getAllProcure() {
		Criteria cri = this.getSession().createCriteria(Procure.class);
		return cri.list();
	}
	
}
